<template>
  {{form}}
  <avue-form :option="option"
             v-model="form"> </avue-form>
</template>
<script>
export default {
  data () {
    return {
      form: {
        img: ['/images/logo-bg.jpg', '/images/logo-bg.jpg', './xx/xx.sql']
      },
      option: {
        column: [
          {
            label: '数组图片组',
            prop: 'img',
            drag: true,
            type: 'upload',
            propsHttp: {
              res: 'data'
            },
            span: 24,
            listType: 'picture-card',
            action: 'https://api.avuejs.com/imgupload'
          }
        ]
      }
    }
  }
}
</script>